package day0712;

public class StaticDemo2 {
    public static void main(String[] args) {
        Person zs=new Person();
        zs.eggs=zs.eggs-1;

        Person ls=new Person();
        ls.eggs=ls.eggs-1;

        System.out.println(zs.eggs);
    }
}



class Person{
    static   int  eggs=10;
}

